/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2023-2023.
 * Description:  The header of logging after appraise integrity measurement fails.
 * Author: zhuyan & xiongshenglan
 * Create: 2023-05-04
 */
#ifndef RTOS_IMA_APPRAISE_FAILLOG_H
#define RTOS_IMA_APPRAISE_FAILLOG_H

extern struct dentry *ima_appraise_faillog;
extern const struct file_operations ima_appraise_faillog_ops;
extern bool ima_appraise_faillog_enable;
extern void ima_appraise_log(const char *fmt, ...);
extern void ima_appraise_faillog_handle(enum integrity_status status, const char *cause,
				   const unsigned char *filename);

#endif
